﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en" th:replace="admin/adminPublic :: #adminPublic_head">
</head>
<body>
<!--头部-->
<header class="publicHeader" th:replace="admin/adminPublic :: #adminPublic_header">
</header>
<!--时间-->
<section class="publicTime" th:replace="admin/adminPublic :: #adminPublic_time">
</section>
<!--主体内容-->
<section class="publicMian ">
    <!-- 左边栏 -->
    <div class="left" th:replace="admin/adminPublic :: #adminPublic_left"></div>
    <!-- 右边栏 -->
    <div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>医生管理页面 >> 添加医生页面</span>
        </div>
        <div class="providerAdd">
            <form id="addForm" th:action="@{/adminAddDoctorData}" th:method="post" action="#">
                <div class="">
                    <label for="username">用户名：</label>
                    <input type="text" name="d_name" id="username"/>
                    <span>*请输入姓名</span>
                </div>
                <div>
                    <label>性别：</label>
                    <select name="d_sex">
                        <option value="1">女</option>
                        <option value="2">男</option>
                    </select>
                    <span></span>
                </div>
                <div>
                    <label for="d_age">年龄：</label>
                    <input type="text" name="d_age" id="d_age"/>
                    <span>*请输入年龄</span>
                </div>
                <div>
                    <label for="d_department">科室：</label>
                    <input type="text" name="d_department" id="d_department"/>
                    <span>*请输入科室</span>
                </div>
                <div>
                    <label for="d_address">住址：</label>
                    <input type="text" name="d_address" id="d_address"/>
                    <span>*请输入住址</span>
                </div>
                <div>
                    <label for="d_tel">电话：</label>
                    <input type="text" name="d_tel" id="d_tel"/>
                    <span>*请输入电话</span>
                </div>
                <div>
                    <label for="d_password">密码：</label>
                    <input type="text" name="d_password" id="d_password"/>
                    <span>*请输入密码</span>
                </div>
                <div class="providerAddBtn">
                    <input type="button" value="添加" onclick="$('#addForm').submit()"/>
                    <input type="button" value="返回" onclick="history.back(-1)"/>
                </div>
            </form>
        </div>
    </div>
</section>

<!-- 底部信息栏 -->
<footer class="footer" th:replace="admin/adminPublic :: #adminPublic_footer">
</footer>

</body>
</html>